package CollectionsDemo;

import java.util.*;

public class ListOfStrings 
{

	public static void main(String[] args) 
	{
	List<String> los = new ArrayList<String>();
	String str = "Hello";
	los.add(str);
	los.add("Sambit");
	los.add(str + str);
	System.out.println(los.size());
	System.out.println(los.contains(1));
	System.out.println(los.contains("Sambit"));
	System.out.println(los.contains("Hello"));
	System.out.println(los.remove("Hello"));
	System.out.println(los.size());
	}

}
